#include "custompushbutton.h"

CustomPushButton::CustomPushButton(QString strName)
{
    this->m_strName = strName;
    this->setText(strName);
    connect(this, SIGNAL(clicked()), this, SLOT(onPushButton()));
}

void CustomPushButton::onPushButton()
{
    emit signalClicked(m_strName);
}
